package cn.shun.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>Project: MyBatis2023 - DbMapper
 * <p>Powered by yishun On 2023-01-30 08:49:04
 *
 * @author yishun [2465734101@qq.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface DbMapper {
    int count(String tableName);

    @Select("create database if not exists ${dbname} default charset utf8")
    void creatDb(String dbname);
}
